home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / cache.zip / ICD.ASM < prev    next >
Assembly Source File  |  1991-10-05  |  406b  |  19 lines

  1. .MODEL small
  2. .STACK 100h
  3. P486
  4. .DATA
  5. Message DB 'Disabling Internal Cache', 13,10,'$'
  6. .CODE
  7. mov ax, @data
  8. mov ds,ax        ;set DS to point to the data segment
  9. mov ah, 9        ;DOS print string function
  10. mov dx,OFFSET Message
  11. int 21h        
  12. mov EAX, CR0
  13. or EAX,060000000h    ;Set Disable Cache bits CD and NW
  14. mov CR0, EAX 
  15. invd
  16. mov ah,4ch        ;DOS terminate program function
  17. int 21h            ;terminate the program
  18. END
  19.